package com.ruoyi.yh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 性状图片对象 yh_blood_image
 * 
 * @author ruoyi
 * @date 2022-03-14
 */
public class YhBloodImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 性状类型 */
    @Excel(name = "性状类型")
    private String bloodType;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    /** 名称 */
    @Excel(name = "名称")
    private String imageName;
    private Long bloodId;//姓氏ID
    private String bloodName;

    public String getBloodName() {
        return bloodName;
    }

    public void setBloodName(String bloodName) {
        this.bloodName = bloodName;
    }

    public Long getBloodId() {
        return bloodId;
    }

    public void setBloodId(Long bloodId) {
        this.bloodId = bloodId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBloodType(String bloodType) 
    {
        this.bloodType = bloodType;
    }

    public String getBloodType() 
    {
        return bloodType;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setImageName(String imageName) 
    {
        this.imageName = imageName;
    }

    public String getImageName() 
    {
        return imageName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bloodType", getBloodType())
            .append("imageUrl", getImageUrl())
            .append("imageName", getImageName())
            .append("remark", getRemark())
            .toString();
    }
}
